home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 2
/
AACD 2.iso
/
AACD
/
WebSites
/
MailingLists
/
AMOSLIST.0899
/
000181_nobody_Fri Aug 27 15:23:34 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-09-01
|
6KB
Received: from onelist.com (pop1.onelist.com [209.207.164.245])
by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id PAA12070
for <mcox4@osf1.gmu.edu>; Fri, 27 Aug 1999 15:23:24 -0400 (EDT)
Received: (qmail 6631 invoked by alias); 27 Aug 1999 19:22:34 -0000
Received: (qmail 6466 invoked from network); 27 Aug 1999 19:22:30 -0000
Received: from unknown (HELO fe060.worldonline.dk) (212.54.64.207) by pop1.onelist.com with SMTP; 27 Aug 1999 19:22:30 -0000
Received: (qmail 5114 invoked by uid 0); 27 Aug 1999 19:22:10 -0000
Received: from 13.ppp1-17.image.dk (HELO zedeler.dk) (212.54.74.13) by mail010.worldonline.dk with SMTP; 27 Aug 1999 19:22:10 -0000
From: Rune Zedeler <rune@zedeler.dk>
To: Andrew Crowe <amos-list@onelist.com>
Date: Fri, 27 Aug 1999 21:16:46 +0100
Message-ID: <yam7908.2339.137790792@mail010.worldonline.dk>
In-Reply-To: <yam7908.1882.1196276776@mail.enterprise.net>
X-Mailer: YAM 1.3.5 [040] - Amiga Mailer by Marcel Beck
Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
Delivered-To: mailing list amos-list@onelist.com
Precedence: bulk
List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
Reply-to: amos-list@onelist.com
Mime-Version: 1.0
Content-type: multipart/mixed; boundary="BOUNDARY.7908.2339.137790792.4"
Subject: Re: [amos-list] Transparent Screen Copying
Status: O
X-Status:
Warning: This is a message in MIME format. Your mail reader does not
support MIME. Some parts of this message will be readable as plain text.
To see the rest, you will need to upgrade your mail reader.
This message was composed on an Amiga using the YAM mailer.
YAM is available at http://bitcom.ch/~mbeck/
--BOUNDARY.7908.2339.137790792.4
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
On 27-Aug-99, Andrew Crowe wrote:
> I want to be able to copy one screen onto another so that all of colo=
ur 0
>is transparent, and shows through the destination screen's gfx.
I made a routing that does it.
I don't don't know if it's faster than getting a bob and pasting it.
I guess it is.
In all cases it usesless temp memory (it uses the memery of onebitplane, =
that
is 10k in 320*256)
The routine expects the source and dest screen to be of the same size (no=
t
same number of colours, though)
You have to give it a number of a temp-bank it can use for the mask. And =
set a
flag: True if the bank is to be reserved and erased; False if it is alrea=
dy
reserved.
By the way, during the test I found a(nother) bug in the AP-compiler:
Min() doesn't work with floats.
Try to compile
Print Min(6.0,4.0)
(Result 6, should be 4)
Well, here it is. Only tested a little, but it appears to work.
(Copy 16 colour 320*256 to 16 colour 320*256 takes 5 vblanks on '060 afte=
r
compilation):
-- =
/=AF\ __ __ /=AF=AF=AF=AF=AF\ _ Rune Zedele=
r
________/ /// \\__/ \\\ ---/ \=AF-_ Rydev=E6nget 3,3th
\ / //=AF| \\/ ||=AF\ \\=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF-_ 8210 =C5rhus V
) / // | \ ` / || \ \\ Lemmus of Efreet - Denmark
/ / =AF=AF=AF=AF=AF\\|\-'/ /=AF=AF=AF=AF=AF \\____________ _-=AF
=AF=AF=AF=AF=AF\------'/||=AF=AF| \------'/ /_-=AF rune@ze=
deler.dk
=AF=AF=AF=AF=AF=AF\-'/ \-'/=AF=AF=AF=AF=AF=AF =AF =
Tel: +45-86750655
=AF=AF =AF=AF
--BOUNDARY.7908.2339.137790792.4
Content-Type: text/plain; charset=iso-8859-1; name="blk.asc"
Content-Transfer-Encoding: x-uue
begin 644 YAM.msg.2
M4')O8V5D=7)E(%-#4D-46U-20RQ$4U0L5$U00DY++%)%4T525D5&3%T*("`G"
M0VAE8VL@=&AA="!S8W)E96YS(&%R92!S86UE('-I>F4*("!)9B!38W)E96X@4
M5VED=&@H4T-2*3P^4V-R965N(%=I9'1H*$135"D@;W(@4V-R965N($AE:6=HU
M="A34D,I/#Y38W)E96X@2&5I9VAT*$135"D*("`@(%-T;W`@.B!296T@4T]5A
M4D-%(&%N9"!$15-4('-C<F5E;B!M=7-T(&)E(&]F('1H92!S86UE('-I>F4*N
M("!%;F0@268@"B`@"B`@)T-A;&-U;&%T92!N=6UB97(@;V8@8FET<&QA;F5S/
M(&]N('-O=7)C92!A;F0@9&5S="US8W)E96X@"B`@)R@@(DUI;B@V+C`L(B!BI
M96-A=7-E(&]F($A!32`[("(K,"XU(B!T;R!P<F]T96-T(&9R;VT@:6YC;W)R#
M96-T+7)O=6YD:6YG<RD@"B`@4V-R965N(%-20PH@(%-#4E<]4V-R965N(%=I#
M9'1H(#H@4T-22#U38W)E96X@2&5I9VAT(#H@4T-24SU30U)(*E-#4E<O.`H@<
M($Y535!,3E-20SU,;BA38W)E96X@0V]L;W5R*2],;B@R+C`I*S`N-0H@($Y53
M35!,3E-#4CU-:6XH-BQ.54U03$Y30U(I"B`@4V-R965N($135`H@($Y535!,`
M3D135#U,;BA38W)E96X@0V]L;W5R*2],;B@R+C`I*S`N-0H@($Y535!,3D13X
M5#U-:6XH-BQ.54U03$Y$4U0I"B`@"B`@)TEF(%1-4$).2R!I<R!T;R!B92!R[
M97-E<G9E9"!T:&5N(')E<V5R=F4@:70L(&5L<V4@8VAE8VL@:68@:70G<R!BQ
M:6<@96YO=6=H"B`@268@4D5315)6149,"B`@("!297-E<G9E($%S(%=O<FL@:
M5$U00DY++%-#4E,*("!%;'-E(`H@("`@268@3&5N9W1H*%1-4$).2RD\4T-2B
M4PH@("`@("!3=&]P(#H@4F5M(%1-4$).2R!T;V\@<VUA;&P@"B`@("!%;F0@9
M268@"B`@16YD($EF(`H@(%1!/5-T87)T*%1-4$).2RD*("`*("`G36%K92!ML
M87-K(&EN('1H92!T96UP+6)A;FL@*&UA<VL@/2!A;&P@8FET<&QA;F5S(&9RZ
M;VT@<V]U<F-E<V-R965N(&]R)V5D('1O9V5T:&5R*0H@("<H0V]P>2!F:7)SQ
M="!P;&%N92!T;R!435!"3DLN(")/<B(@=&AE(&]T:&5R('!L86YE<R!I;G1O&
M(&ET(&]N92!A="!A('1I;64I(`H@(%-C<F5E;B!34D,*("!#;W!Y($QO9V)A)
M<V4H,"DL3&]G8F%S92@P*2M30U)3(%1O(%1!"B`@268@3E5-4$Q.4U)#/C$*5
M("`@($9O<B!0/3$@5&\@3E5-4$Q.4U)#+3$*("`@("`@4T$]3&]G8F%S92A0X
M*0H@("`@("!&;W(@23TP(%1O(%-#4E,M,2!3=&5P(#0*("`@("`@("!,;VMEQ
M(%1!*TDL3&5E:RA402M)*2!O<B!,965K*%-!*TDI"B`@("`@($YE>'0@20H@G
M("`@3F5X="!0"B`@16YD($EF(`H@(`H@("=%<F%S92!T:&4@87)E87,@;VX@4
M9&5S='-C<F5E;B!W:&5R92!S;W5R8V5S8W)E96X@:7-N)W0@8V]L;W5R('IE4
M<F\*("`G*")!;F0B(&1E<W1S8W)E96X@=VET:"`B3F]T(B!M87-K+"!O;F4@,
M8FET<&QA;F4@870@=&AE('1I;64I"B`@4V-R965N($135`H@($9O<B!0/3`@`
M5&\@36EN*$Y535!,3E-20RQ.54U03$Y$4U0I+3$*("`@($1!/4QO9V)A<V4H:
M4"D*("`@($9O<B!)/3`@5&\@4T-24RTQ(%-T97`@-`H@("`@("!,;VME($1!F
M*TDL3&5E:RA$02M)*2!A;F0@3F]T($QE96LH5$$K22D*("`@($YE>'0@20H@&
M($YE>'0@4`H@(`H@("=#;W!Y('-O=7)C97-C<F5E;B!T;R!D97-T<V-R965N)
M('5S:6YG(")/<B(*("!38W)E96X@0V]P>2!34D,L,"PP+%-#4E<L4T-22"!4+
M;R!$4U0L,"PP+"4Q,3$P,#`P,`H@(`H@("=)9B!435!"3DL@=V%S('1O(&)EQ
M(')E<V5R=F5D('1H96X@97)A<V4@:70@86=A:6X*("!)9B!215-%4E9%1DP*M
D("`@($5R87-E(%1-4$).2PH@($5N9"!)9B`*16YD(%!R;V,*+
``
end
size 1746
--BOUNDARY.7908.2339.137790792.4--